﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KingerRobot.PCRMES.Dao;

partial class Db : K8.EF.DbContext
{
    /// <summary>
    ///Orcale:出库完成接口表
    /// </summary>
    public DbSet<i_wms_out> WmsOuts { get; set; }
}
/// <summary>
/// 出库完成接口表
/// </summary>
[Table("i_wms_out")]
public class i_wms_out
{
    /// <summary>
    /// 主键
    /// </summary>
    [Key]
    [Column("out_id")]
    public string OUT_ID { get; set; }
    /// <summary>
    /// 单号
    /// </summary>
    [Column("list_no")]
    public string LIST_NO { get; set; }
    /// <summary>
    /// 物料编码
    /// </summary>
    [Column("part_number")]
    public string PART_NUMBER { get; set; }
    /// <summary>
    /// 批次号码
    /// </summary>
    [Column("batch_name")]
    public string BATCH_NAME { get; set; }
    /// <summary>
    /// 目标站台 
    /// </summary>
    [Column("eloc_no")]
    public string ELOC_NO { get; set; }
    /// <summary>
    /// RFID工装号码 
    /// </summary>
    [Column("rfid_no")]
    public string RFID_NO { get; set; }
    /// <summary>
    /// 创建时间 
    /// </summary>
    [Column("create_time", TypeName = "timestamp without time zone")]
    public DateTime? CREATE_TIME { get; set; }
    /// <summary>
    /// 创建人员 
    /// </summary>
    [Column("create_user")]
    public string CREATE_USER { get; set; }
    /// <summary>
    /// 更新时间 
    /// </summary>
    [Column("last_modified_time", TypeName = "timestamp without time zone")]
    public DateTime? LAST_MODIFIED_TIME { get; set; }
    /// <summary>
    /// 更新人员
    /// </summary>
    [Column("last_modified_user")]
    public string LAST_MODIFIED_USER { get; set; }
    /// <summary>
    /// 备注信息
    /// </summary>
    [Column("remarks")]
    public string REMARKS { get; set; }
    /// <summary>
    /// 更新标志 1:新增  2:删除 0;复位
    /// </summary>
    [Column("update_flag")]
    public int? UPDATE_FLAG { get; set; }
    /// <summary>
    /// 发往区域名称，需求指令自动发料为空，手动发料不为空
    /// </summary>
    [Column("area_name")]
    public string AREA_NAME { get; set; }

    /// <summary>
    /// 仓库号
    /// </summary>
    [Column("storage_no")]
    public string STORAGE_NO { get; set; }
    /// <summary>
    /// 出库机台
    /// </summary>
    [Column("target_equip")]
    public string TARGET_EQUIP { get; set; }
    /// <summary>
    /// 出库打印交互标志:MES 打印卡片完成后 更新为OUT_FLAG 值为1,MES 打印卡片完成后 更新为2
    /// </summary>
    [Column("out_flag")]
    public int? OUT_FLAG { get; set; }
    /// <summary>
    /// 打印卡片时间
    /// </summary>
    [Column("print_time", TypeName = "timestamp without time zone")]
    public DateTime? PRINT_TIME { get; set; }
    /// <summary>
    /// 出库完成时间
    /// </summary>
    [Column("out_time", TypeName = "timestamp without time zone")]
    public DateTime? OUT_TIME { get; set; }
    /// <summary>
    /// 物料描述
    /// </summary>
    [Column("part_desc")]
    public string PART_DESC { get; set; }
    /// <summary>
    /// 请求单完成情况0完成1取消
    /// </summary>
    [Column("list_status")]
    public int? LIST_STATUS { get; set; }
    /// <summary>
    /// Batch-0  Lot-1
    /// </summary>
    [Column("data_type")]
    public string DATA_TYPE { get; set; }
    /// <summary>
    ///重量或数量
    /// </summary>
    [Column("quantity")]
    public decimal? QUANTITY { get; set; }
}
